package com.fangzc.springboot.demo.common.base;

/**
 * @author fangzc
 * @version v1
 * @description 请填写文件相关描述
 * @date 2019-5-29
 */
public interface BaseMapper<T> {

    int deleteByPrimaryKey(Integer id);

    int insert(T record);

    int insertSelective(T record);

    T selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(T record);

    int updateByPrimaryKey(T record);
}
